package org.dromara.quickswing.constant;

import cn.hutool.core.io.FileUtil;

import java.io.File;
/**
 * @author Jin
 */
public class QSConstant {

    private QSConstant() {
    }

    /**
     * key
     */
    public static final String KEY_APP_DATA_PATH = "appDataPath";
    public static final String KEY_APP_THEME = "appTheme";
    public static final String KEY_APP_FONT_NAME = "appFontName";
    public static final String KEY_APP_DATABASE_INIT = "appDatabaseInit";
    public static final String KEY_APP_LANGUAGE = "appLanguage";
    public static final String KEY_LOCATION_X = "locationX";
    public static final String KEY_LOCATION_Y = "locationY";
    public static final String KEY_APP_WIDTH = "appWidth";
    public static final String KEY_APP_HEIGHT = "appHeight";
    public static final String KEY_APP_RESOURCE_BUNDLE_PATH = "appResourceBundlePath";
    public static final String KEY_LOG_FILE = "log.file";

    public static final String KEY_APP_NAME = "appName";
    public static final String KEY_DB_FILE_NAME = "DbFileName";

    /**
     * default
     */
    public static final String DEFAULT_APP_DATA_PATH = FileUtil.getUserHomePath() + File.separator + ".quickSwing";
    public static final String DEFAULT_APP_THEME_DARK = "appDark";
    public static final String DEFAULT_APP_LANGUAGE_CN = "zh_cn";
    public static final String DEFAULT_KEY_APP_RESOURCE_BUNDLE = "";
    public static final String DEFAULT_LOG_FILE = "logs" + File.separator + "app.log";
    public static final String DEFAULT_APP_NAME  = "QuickSwing";
    public static final String DEFAULT_DB_FILE_NAME  = "app.db";

}
